<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<f:view>
	<h:form id='form'>
		<h:head>
			<f:loadBundle basename="messages" var="msgs" />
			<title><h:outputText value="#{msgs.title}" /></title>

			<script type="text/javascript"
				src="${facesContext.externalContext.requestContextPath}/resources/script/jquery.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/jquery.bgiframe-2.1.2.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}//resources/script/ui/jquery.ui.core.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}//resources/script/ui/jquery.ui.widget.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.mouse.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.button.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.draggable.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.position.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.resizable.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.ui.dialog.js"></script>
			<script
				src="${facesContext.externalContext.requestContextPath}/resources/script/ui/jquery.effects.core.js"></script>
			<link rel="stylesheet"
				href="${facesContext.externalContext.requestContextPath}/resources/css/themes/base/jquery.ui.all.css"></link>

			<script type="text/javascript" charset="utf-8">
				$(document).ready(function() {
					
				});


			</script>




		</h:head>
		<body>

			<ui:include src="header/header.xhtml" />

			<br />
			<br />
			<br />
			<br /> User Name
			<h:inputText id="user_name" value="#{cbTestBean.userName}"></h:inputText>
			<h:commandButton id="user_btn" value="users"
				action="#{cbTestBean.openUsersAction}">

			</h:commandButton>
			
			
			<br /> Category Name
			<h:inputText id="category_name" value="#{cbTestBean.categoryName}"></h:inputText>
			<h:commandButton id="category_btn" value="category"
				action="#{cbTestBean.openCategoriesAction}">

			</h:commandButton>
			<br />



			<ui:include src="footer/footer.xhtml" />
		</body>


	</h:form>
</f:view>
</html>
